<template>
	<view>
		<view class="container">
			<view class="item">
				<text class="label">头像:</text>
				<image class="info" src="@/static/imageTest.jpg"></image>
			</view>
			<view class="item">
				<text class="label">姓名:</text>
				<text class="info">张三</text>
			</view>
			<view class="item">
				<text class="label">手机号:</text>
				<text class="info">17324999833</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.container {
		padding: 30px;
	}

	.item {
		display: flex;
		align-items: center;
		margin-bottom: 10px;
		/* Ensure items are spaced evenly */
		justify-content: space-between;
	}

	.item image {
		width: 50px;
		height: 50px;
		border-radius: 50%;
		/* 圆形头像 */
	}

	.label {
		width: 100px;
		font-weight: bold;
	}

	.info {
		text-align: right;
		/* 文字右对齐 */
	}
</style>